package com.viego.financialrecommendsystem.service;


import com.viego.financialrecommendsystem.entity.Comment;
import com.viego.financialrecommendsystem.entity.Discuss;

import java.util.List;

public interface IDiscussService {

    Discuss queryById(Long discussId);

    List<Comment> comment(long parseLong);

    Integer collect(Long discussId);

    boolean saveComment(Comment comment);

    boolean addCollect(String userId, String discussId);

    boolean isCollected(long userId, long discussId);

    List<Discuss> article(long parseLong);

    List<String> type();

    boolean save(Discuss discuss);

    boolean removeCollect(long userId, long discussId);
}
